Creating self-signed certificate can be done by using OpenSSL, or online generator like this one.
Please note that using online generator might not always works.
To register the certificate in gRPC server, you can use Go : credentials.NewServerTLSFromFile
To test the server, you can use Postman with security (padlock icon near the server address) enabled